:host {
    flex-shrink: 0;
    box-sizing : border-box;
    width      : 100%;
}

.van-tab__pane {
    box-sizing                : border-box;
    overflow-y                : auto;
    -webkit-overflow-scrolling: touch;

    flex-shrink: 0;
    width      : 100%;

    &--active {
        height: auto;
    }

    &--inactive {
        height  : 0;
        overflow: visible;
    }
}
